|
CallGraph
|
00001 /*************************************************************** 00002 * Name: uicallgraphpanel.h 00003 * Purpose: Header to create panel and show call graph picture. 00004 * Author: Václav Špruček 00005 * Created: 2012-03-04 00006 * Copyright: Václav Špruček 00007 * License: wxWidgets license (www.wxwidgets.org) 00008 * Notes: 00009 **************************************************************/ 00010 00011 #ifndef UICALLGRAPHPANEL_H 00012 #define UICALLGRAPHPANEL_H 00013 00014 #include "lineparser.h" 00015 #include "confcallgraph.h" 00016 #include "plugin.h" 00017 #include "uicallgraph.h" // Base class: uicallgraph 00018 00019 00020 class uicallgraphpanel : public uicallgraph { 00021 00022 public: 00023 uicallgraphpanel(wxWindow *parent, IManager *mgr, const wxString& imagepath, LineParserList *pLines); 00024 virtual ~uicallgraphpanel(); 00025 00026 protected: 00027 virtual void OnPaint(wxPaintEvent& event); 00028 virtual void OnSaveCallGraph(wxCommandEvent& event); 00029 virtual void OnClosePanel(wxCommandEvent& event); 00030 //void NumberOfPrimaryLinesAndSize(); 00031 void CreateAndInserDataToTable(); 00032 00033 wxBitmap m_Bmp; 00034 IManager *m_mgr; 00035 wxString pathimage; 00036 LineParserList *mlines; 00037 ConfCallGraph confData; // stored configuration data 00038 //int rows; 00039 //int row_label_size; 00040 }; 00041 00042 #endif // UICALLGRAPHPANEL_H